<?php

foreach ($cols as $col) {
    echo '<th>' . $this->Paginator->sort($col["name"], $col["label"]) . '</th>';
}
